package com.ml.mall.bean.res.admin;

import com.ml.mall.bean.res.admin.vo.AdminOverviewSalesByCategoryVO;
import com.ml.mall.bean.res.admin.vo.AdminOverviewSalesByIndustryVO;
import com.ml.mall.bean.res.admin.vo.AdminOverviewSalesByCountryVO;
import com.ml.mall.bean.vo.CouponVO;
import com.ml.mall.bean.vo.DateValueVO;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.math.BigDecimal;
import java.util.List;

/**
 * Created by kyyang on 2021/6/8 21:58
 */
@Data
@ApiModel("管理员面板")
public class AdminOverviewRes {

    @ApiModelProperty("总销售额")
    private BigDecimal totalSales;

    //洲属销售额：top 10
    private List<AdminOverviewSalesByCountryVO> salesByState;

    //按照category分组排序：top 10
    private List<AdminOverviewSalesByCategoryVO> salesByCategory;

    //按照产业排序销售额：top 10
    private List<AdminOverviewSalesByIndustryVO> salesByIndustry;

    //按 company 的 create_at 分组
    //每日详细：代码填充：无数据为0
    //为空日期范围内每天为0
    private List<DateValueVO> registerCompanyBuyer;

    //按 company 的 create_at 分组
    //每日详细：代码填充：无数据为0
    //为空日期范围内每天为0
    private List<DateValueVO> registerCompanySupplier;

    //sys_coupon_record
    //每日详细：代码填充：无数据为0
    //为空日期范围内每天为0
    private List<CouponVO> couponUse;

}
